package com.cskaoyan.bean.wx.brand;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Name : TopicController.java
 * @Time : 2021/8/12 19:36
 * @Author : creamycandy
 * @Software : IntelliJ IDEA
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BrandDataVo<T> {
    List<T> brandList;
    long totalPages;

    public static <T> BrandDataVo create(List<T> brandList, long totalPages) {
        return new BrandDataVo(brandList, totalPages);
    }
}
